home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Phreaking⁄Wardialers / Utilities / Modem Server 1.0 / Writing Modem Drivers < prev   
Text File  |  1995-08-07  |  2KB  |  52 lines

  1. Writing modem drivers for Pancake or Modem Server.
  2.  
  3. Just add a STR# resource to the application with id 1000+number of driver (make sure there are no gaps in the sequence from 1000 to your id).
  4. Name the resource the class of modem your driver is meant for.
  5.  
  6. Put the following information in the STR# resource.
  7.  
  8. 1. InitStr
  9.  
  10. The initalization string sent to the modem
  11.  
  12. 2. ChangeSpeed
  13.  
  14. YES or NO, if the speed the modem talks to the computer is locked put NO, else put YES.
  15. Not currently implemeted in Pancake or Modem Server.
  16.  
  17. 3.  HWOn
  18.  
  19. Concatenated to the end of the init string if HW Handshaking is On.
  20. Not currently implemeted in Pancake or Modem Server.
  21.  
  22. 4.  HWOff
  23.  
  24. Concatenated to the end of the init string if HW Handshaking is Off.
  25. Not currently implemeted in Pancake or Modem Server.
  26.  
  27. 5.  DtrOn
  28.  
  29. Concatenated to the end of the init string if DTR Hangup is On.
  30. Not currently implemeted in Pancake or Modem Server.
  31.  
  32. 6.  DtrOff
  33.  
  34. Concatenated to the end of the init string if DTR Hangup is Off.
  35. Not currently implemeted in Pancake or Modem Server.
  36.  
  37. 7.  Answer
  38.  
  39. String sent to modem to answer the phone call
  40.  
  41. 8.  HangupStr
  42.  
  43. String sent to modem to hangup the phone call
  44.  
  45. 9.  Quit
  46.  
  47. String sent to modem when application is quit.
  48.  
  49. Try to put the right information in the fields not yet implemented, because they will most likely be implemented in the future, and your driver then won't work.
  50.  
  51. Send any drivers you write to ferrari@netaxs.com, and i'll add them to future releases of both Pancake and Modem Server.
  52.